package spring.conditional;

import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Component;

@Component
@Conditional(LinuxCondition.class)
public class LinuxListService implements ListService {
    public String showListCmd() {
        return "ls";
    }
}
